//
//  Dialect.h
//  DialectShare
//
//  Created by timmy zhong on 3/20/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "User.h"

@interface Dialect : NSObject

@property (nonatomic, assign) NSInteger dialectId, yuxiId, sentenceId, uid;
@property (nonatomic, retain) NSString *content, *yuxi, *address, *uri;
@property (nonatomic, assign) NSInteger dateline;
@property (nonatomic, assign) NSInteger good, bad, listen;
@property (nonatomic, assign) float longitude, latitude;
@property (nonatomic, retain) NSString *distance;
@property (nonatomic, readonly) User *user;
@property (nonatomic, retain) NSObject *object;

+ (Dialect *)dialectWithDic:(NSDictionary *)dic;

@end
